package com.example.myapplication;

/**
 * 订单数据模型类
 * 用于存储订单相关信息
 */
public class OrderItem {
    private String schoolName;    // 学校名称
    private String campusName;    // 校区名称
    private String mealType;      // 餐次
    private String orderNumber;   // 订单号
    private String deliveryUnit;  // 配送单位
    private String deliveryTime;  // 配送时间

    // 构造函数
    public OrderItem(String schoolName, String campusName, String mealType, String orderNumber, String deliveryUnit, String deliveryTime) {
        this.schoolName = schoolName;
        this.campusName = campusName;
        this.mealType = mealType;
        this.orderNumber = orderNumber;
        this.deliveryUnit = deliveryUnit;
        this.deliveryTime = deliveryTime;
    }

    // Getter和Setter方法
    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getCampusName() {
        return campusName;
    }

    public void setCampusName(String campusName) {
        this.campusName = campusName;
    }

    public String getMealType() {
        return mealType;
    }

    public void setMealType(String mealType) {
        this.mealType = mealType;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getDeliveryUnit() {
        return deliveryUnit;
    }

    public void setDeliveryUnit(String deliveryUnit) {
        this.deliveryUnit = deliveryUnit;
    }

    public String getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(String deliveryTime) {
        this.deliveryTime = deliveryTime;
    }
}